<template>
  <div style="height: 100%">
    <iframe :src="k8sUrl" frameborder="0" ref="iframe" id="iframe"></iframe>
  </div>
</template>

<script>
	export default {
		name: "k8s-manage",

    data() {
		  return {
        // k8sUrl: 'https://demo.kubesphere.io/'
        k8sUrl: 'http://120.48.68.245:30880/dashboard'
      }
    },

    mounted() {
		  console.log(this.$refs.iframe.contentWindow)
    }
  }
</script>

<style scoped>
  iframe {
    height: 99%;
    width: 101%;
    overflow-x: hidden;
  }
</style>
